package com.pos.action;

import com.pos.pojo.Dish;
import com.pos.service.DishService;

import java.util.List;

public class DishWAction {
    DishService dishService;
    List<Dish> dishes;
    Dish dish;

    public String list() {
        dishes = dishService.list();
        return "listDishW";
    }


    public DishService getDishService() {
        return dishService;
    }

    public void setDishService(DishService dishService) {
        this.dishService = dishService;
    }

    public List<Dish> getDishes() {
        return dishes;
    }

    public void setDishes(List<Dish> dishes) {
        this.dishes = dishes;
    }
}
